package java9_3;

/**
 * @author oldliu
 * @since 1.0
 */
public class Tugou extends Gou {
    public String name="土狗";

    @Override
    public void show() {
        System.out.println(name);
    }
    public static void p(){
        System.out.println("这是一种土狗，跟随我们的祖先从黄河流域而来");
    }

//    public void bite(String person)throws Exception{
//
//    }

    @Override
    public void bite2(String person)  {
        System.out.println(name+"咬了"+person);
    }
}
